import Koa from "koa";
import router from "./router/view.js";
import bodyParser from "koa-bodyparser";

const app = new Koa();

app.use(bodyParser());
app.listen(4560);
app.use(router);
console.log("服务运行地址:http://localhost:4560");
